<?php
/**
* 
*/
defined('BASEPATH') OR exit('No direct script access allowed');
class Ybglobals
{
    public function justjudge(){
    if (!function_exists('curl_init')) {
        throw new Exception('YiBan needs the CURL PHP extension.');
    }
    if (!function_exists('json_decode')) {
        throw new Exception('YiBan needs the JSON PHP extension.');
    }
    // if (!function_exists('mcrypt_decrypt')) {
    //     throw new Exception('YiBan needs the mcrypt PHP extension.');
    // }
	// if(!defined('YBAPI_CLASSESS_DIR')) {
	// 	define('YBAPI_CLASSESS_DIR', dirname(__FILE__).DIRECTORY_SEPARATOR);
	// 	require(YBAPI_CLASSESS_DIR.'YBLANG.php');
	// 	require(YBAPI_CLASSESS_DIR.'YBException.php');
	// 	require(YBAPI_CLASSESS_DIR.'YBOpenApi.php');
	// 	require(YBAPI_CLASSESS_DIR.'YBAPI'.DIRECTORY_SEPARATOR.'Authorize.php'); //网站接入模块
	// }
}
}
?>